package triggerhelper.tabs;

import javax.swing.*;

public class ConditionsTab extends javax.swing.JPanel {

    /** Creates new form ConditionsTab */
    public ConditionsTab() {
        initComponents();
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pConditions = new javax.swing.JPanel();
        lCond = new javax.swing.JLabel();
        bHelp = new javax.swing.JToggleButton();
        scrollingText = new javax.swing.JScrollPane();
        tCond = new javax.swing.JTextArea();

        pConditions.setBackground(new java.awt.Color(255, 223, 223));

        lCond.setFont(new java.awt.Font("Tahoma", 1, 12));
        lCond.setForeground(new java.awt.Color(102, 19, 19));
        lCond.setText("Conditions");

        bHelp.setText("Help");

        tCond.setColumns(20);
        tCond.setFont(new java.awt.Font("Monospaced", 0, 11)); // NOI18N
        tCond.setRows(5);
        scrollingText.setViewportView(tCond);

        javax.swing.GroupLayout pConditionsLayout = new javax.swing.GroupLayout(pConditions);
        pConditions.setLayout(pConditionsLayout);
        pConditionsLayout.setHorizontalGroup(
            pConditionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pConditionsLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pConditionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(scrollingText, javax.swing.GroupLayout.DEFAULT_SIZE, 360, Short.MAX_VALUE)
                    .addGroup(pConditionsLayout.createSequentialGroup()
                        .addComponent(lCond)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 241, Short.MAX_VALUE)
                        .addComponent(bHelp)))
                .addContainerGap())
        );
        pConditionsLayout.setVerticalGroup(
            pConditionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pConditionsLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pConditionsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lCond)
                    .addComponent(bHelp))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(scrollingText, javax.swing.GroupLayout.DEFAULT_SIZE, 181, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pConditions, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(pConditions, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents

    //Getter methods
    public JToggleButton getbHelp() {
        return bHelp;
    }public JTextArea gettCond() {
        return tCond;
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JToggleButton bHelp;
    private javax.swing.JLabel lCond;
    private javax.swing.JPanel pConditions;
    private javax.swing.JScrollPane scrollingText;
    private javax.swing.JTextArea tCond;
    // End of variables declaration//GEN-END:variables

}
